package cn.edu.nuc.ssm.service;

import cn.edu.nuc.ssm.dto.BbsReplyAndUsername;
import cn.edu.nuc.ssm.dto.SecondBbsReblyAndRAndToUsername;
import cn.edu.nuc.ssm.entity.BbsReply;
import cn.edu.nuc.ssm.util.Pager;

import java.util.List;


/**
 * Created by Administrator on 2017/4/20.
 */
public interface BbsRelpyService{

    int insert(BbsReply record);

    Pager findPageList(int currentPage,int uid,int sid,int tid,int level);

    BbsReplyAndUsername findbyIdandFirstlevel(Integer id);

    int insertBbsReply2Level(BbsReply record);

    List<SecondBbsReblyAndRAndToUsername> findbytidandlevel(Integer tid);

    void deletebyIdOrPid(Integer id);

    List<BbsReply> find();
}
